/***************************************************************
 * Name:      main.cpp
 * Purpose:   Save Project as tar
 * Author:    Riku Maikola (riku@maikola.net)
 * Usage:     LoadO "program.all" "O????" "to something"
 * Created:   2014-05-03 - 2014-05-03
 * Copyright: Riku Maikola
 * License:   GPL
 **************************************************************/

#include <iostream>
#include <stdlib.h>

int main(int n, char* Args[])
{
    if(n==3)
    {
        std::string alfa = "cd ";
        alfa += Args[2];
        alfa += "\ntar -cf ";
        alfa += Args[1];
        alfa += " *";
        system(alfa.c_str());
    }
    return 0;
}


